<?php

namespace catchAdmin\diseasepath\request;

use catcher\base\CatchRequest;

class DiseasePathRequest extends CatchRequest
{
    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'name|随访路径名称' => 'require',
           // 'disease_id|病种id' => 'require',
           // 'disease|病种名称' => 'require',
           // 'severity|严重程度' => [
               // 'require',
               // 'in:low,middle,high'
           // ],
            /*'step_type|模板节点' => [
                'require',
                'in:1,2'
            ],*/
            "steps|慢病随访步骤" => [
                'require',
                'array'
            ]
        ];
    }

    protected function message(): array
    {
        return [];
    }
}